

package Memoir 
{
	import org.flixel.*;
	import Main.*;
	/**
	 * Level 1: Suburb
	 */
	public class PlayStateSuburb extends PlayState
	{
		[Embed(source = '../Assets/suburb.png')] private var SuburbImg:Class;

		private var level:int = 2;
		

		private var deadtreeHS:Hotspot=new Hotspot(65,0,170,170,Main.Memoir.NEGATIVE, "That tree is dead, it won't bear any fruit.");
		private var scarecrowHS:Hotspot=new Hotspot(20,340,90,90,Main.Memoir.NEUTRAL, "That scarecrow reminds me of my first boss - nothing but straw in his head.");
		private var partyHS:Hotspot=new Hotspot(510,146,90,90,Main.Memoir.POSITIVE, "Looks like a crazy party in there.");
		private var party2HS:Hotspot=new Hotspot(365,100,90,90,Main.Memoir.POSITIVE, "Looks like a crazy party in there.");
		private var carinlawnHS:Hotspot=new Hotspot(215,110,125,90,Main.Memoir.POSITIVE, "Looks like a teenager's car... on the lawn? Did someone party too hard?");
		private var deadfieldHS:Hotspot=new Hotspot(40,404,90,90,Main.Memoir.NEGATIVE, "Nothing will grow in that field.");
		private var deadlawnHS:Hotspot=new Hotspot(235,0,145,90,Main.Memoir.NEGATIVE, "Nothing will grow in that lawn.");

		
		private var hotSpots:Array=new Array(deadtreeHS, scarecrowHS, partyHS,party2HS, carinlawnHS, deadfieldHS, deadlawnHS);
		
		
		public function PlayStateSuburb() {
			super(level);
		}
		
		public override function addBackground():void {
			this.add(new FlxSprite(0,0,SuburbImg));	
			
		}
		
		public override function getBackground():Object{
			return new SuburbImg();
		}		
		
		
		public override function getLvlTxt():String {
			return "Day 3:" + '\n' +
				"Oak St.";
		}
		
		public override function getPrompt():String {
			return "\"Dad taught me to drive on Oak Street. Take a picture there.\"";
		}
		
		public override function getHotSpots():Array {
			return hotSpots;
		}
		
		/*public function setCoord():void {
			hotSpots.push(stickHS);
			hotSpots.push(bottleHS);
			hotSpots.push(squirrelHS);
			hotSpots.push(duckHS);
			hotSpots.push(pinataHS);
			hotSpots.push(girlHS);
			
		}*/
		
	}
}